

<h1 align="center"> EDIT USER</h1>
<form id="frmEdit" name="frmEdit" method="post">
<table border="0" cellpadding="3" cellspacing="3">
    <tr>
        <th width="150">Username</th>
        <th width="200">Email</th>
        <th width="100">Status</th>
        <th width="50">Role</th>
        
    </tr>
    <?php foreach($this->users as $user): ?>
    <?php ?> 
    <tr>
        <td><input name="txtUname" id="txtUname" type="textbox" value="<?php echo $user->getUsername();?>" /> </td>
        <td><input name="txtEmail" id="txtEmail" type="textbox" value="<?php echo $user->getEmail();?>" size="50px" /> </td>
        <td><input name="txtStatus" id="txtStatus" type="textbox" value="<?php echo $user->getStatus();?>" /> </td>
        <td><input name="txtRole" id="txtRole" type="textbox" value="<?php echo $user->getRole();?>" /> </td>
    </tr>
    <?php endforeach; ?>
</table>
    <p align="left"><input name="btnSave" type="submit" id="btnSave" value="Save change" /></p>
</form>